@extends('host.custom.common.common')

@section('c-head')
    <script type="text/javascript">
        PAGE_DATA = {
            pagingObj : {
                total : 0,
                pageSize : 7,
                page : 1
            }
        };

    </script>
@stop

@section('body')
        <!-- top_test -->
<div id="top_test"></div>

<!-- web_logo_search -->
<div id="web_logo_search"></div>

<!-- comm_nav -->
<div id="comm_nav"></div>

<div class="com-w mt20">
    <div class="wrapper clearfix">
        <div id="commleftmenu" class="w220 mr20 comm-left-menu">
            <div class="menu-top-title">采购商中心</div>
            <div id="leftmenuitems"></div>
        </div>
        <div class="w960 comm-main">
            <div class="main-release clearfix">
                <div class="main-release-nav">
                    您当前的位置：
                    <a href="javascript:void(0)">首页</a>
                    >
                    <a href="javascript:void(0)">采购商中心</a>
                    > 我的商品
                </div>
                <div class="main-release-title">
                    <span class="icons"></span>
                    <span class="release-title-h3 f16">我的商品</span>
                </div>
                <div class="main-release-from">
                    <div id="commTabs_1" class="comm-tabs">
                        <div class="comm-tabs-body">
                            <div class="h60 w960 my-shop-input">
                                <div class="closing-time f14">
                                    查询商品：
                                    <input type="text" placeholder="商品名称或供应商名称" id="supplyername">
                                    <a href="javascript:void(0)" class="btn btn-warn btn-w70x32" id="sel-query-btn">查询</a>
                                </div>
                            </div>
                            <div class="clearfix my-apply my-shop">
                                <div class="head">
                                    <ul class="clearfix">
                                        <li class="wb10 tc c-333">
                                            <img src=""></li>
                                        <li class="wb20 tc c-333">商品名称</li>
                                        <li class="wb10 tc c-333">价格</li>
                                        <li class="wb15 tc c-333">供应商名称</li>
                                        <li class="wb15 tc c-333">授权范围</li>
                                        <li class="wb15 tc c-333">商品情况</li>
                                        <li class="wb15 tc c-333">操作</li>
                                    </ul>
                                </div>
                                <div class="my-apply-main my-shop-main" id="my_supply_list">

                                </div>
                                <div class="comm-paging clearfix" id="comm-paging" style="float: right;">

                                </div>
                            </div>

                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- foot_nav -->
<div id="foot_nav"></div>

<div id="bottom_main"></div>
<script type="text/template" id="item-template">
    <%_.each(obj, function(item){%>
    <ul class="clearfix">
        <li class="wb10 tc c-333">
            <img src="<%=item.src%>"></li>
        <li class="wb20 tc ">
              <span class="f14 c-coffee tl fl mt25">
                 <%=item.shopname%>
              </span>
        </li>
        <li class="wb10 tc b002">￥<%=item.price%></li>
        <li class="wb15 tc c-yer"><span class="f14 c-coffee tl fl mt25"><%=item.supplyName%></span></li>
        <li class="wb15 tc c-666"><%=item.scopeAuthority%></li>
        <li class="wb15 tc c-999">
              <span class="f14 fl wbb tc mt10">
                  <span class="fl wb50 tr">库存：</span>
                  <span class="stock-num f14 wb50 tl fl"><%=item.shopsituation.stock%></span>
              </span>
              <span class="f14 fl wbb tc mt10">
                  <span class="fl wb50 tr">已售：</span>
                  <span class="stock-num f14 wb50 tl fl"><%=item.shopsituation.sold%></span>
              </span>
              <span class="f14 fl wbb tc mt10">
                  <span class="fl wb50 tr">评论：</span>
                  <span class="stock-num f14 wb50 tl fl"><%=item.shopsituation.criticism%></span>
              </span>
        </li>
        <li class="wb15 tc c-333">
            <a class="btn btn-warn btn-w70x32 mt25" href="<%=item.href%>">订购</a>
        </li>
    </ul>
    <%});%>
</script>

<script src="/assets/b2b/js/libs/jquery.paging.min.js"></script>
<script src="/assets/b2b/js/pageModules/buyer/B7.js"></script>
@stop